vizGlassbrain.RdVisualizing brain connectivity with a glass brain plot
vizGlassbrain(
data,
surf_color = "grey",
node_color = "#00BA38",
surf_alpha = 0.2,
cmap,
node_size = 8,
edgethickness = 8,
limits,
colorbar_title = "Connectivity strength",
orientation_labels = TRUE,
remove_brain = FALSE
)a vector of edge values with 4005, 7021, 23871 or 30135 columns
alpha value of the cortical surface, where 0 will cause the cortical surface to disappear and 1 will cause the cortical surface to be completely opaque. Set to 0.2 by default
color of the nodes. Set to '#00BA38' by default
A string vector containing 2 to 3 color names/codes specifying the colors to be used for the color scale. If none are specified, appropriate colors will be automatically selected according to range(surf_data)
size parameter for the dots representing the nodes. Set to 8 by default.
a value to adjust the thickness of the edges. Set to 8 by default.
A combined pair of numeric vector composed of the lower and upper color scale limits of the plot. When left unspecified, the symmetrical limits c(-max(abs(surf_dat),max(abs(surf_dat))) will be used.
title for the colorbar legend. Set to 'Connectivity strength by default
A boolean object specifying if orientation labels are to be displayed. Set to TRUE by default
A boolean object specifying cortical surface should be removed. Set to FALSE by default
outputs a plot_ly object
This function takes a vector (length(data)=number of edges in the connectome) of edge values and visualizes the edge-to-edge connectivity with a glass brain plot